package java02;

public class java02_6 {
    public static void main(String[] args) {
        int day = 0;
        double money=0;
        for (day=1;;day++ ){
            money=money+2.5;
            if(day/5==0||day%5==0){
                money=money-6;
            }
            if(money>=100)
            {

                break;
            }
        }
        System.out.println("用了"+day+"天");
    }
}
